﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmallJob.Model;
using SmallJob.Data.Interfaces;

namespace SmallJob.Services.Interfaces
{
    public interface IUserService : IRepository<User>
    {
        User Login(string email, string password);
        User GetByFBID(string fbID);
        User GetByEmail(string email);
        Boolean CheckUserNameExist(string username);
        User GetByUsername(String username);
        List<User> GetAllUser();
        List<User> GetByPage(int page, int pagesize, out int total);

        List<User> GetByPageFilter(int page, int pagesize, out int total, string filter);
    }
}
